package com.yh.bean;

public class User {


	private int uid;  //用户 id
	private String uaccount; //账号  用户注册后，账号在数据库自动生成
	private String uname; //用户昵称
	private String password; //用户密码
	private String uremake; //个性签名
	private String photo; //图片头像
	private String sex; //性别
	private String realName; //真实姓名
	private double umoney; //账户余额
	private int integral; //积分余额
	private String phone; //手机号
	private String email; //邮箱
	private int status; //身份状态  0普通用户，1一级管理员，2，二级管理员
	private int paypassword; //支付密码
	private String cardNumber; //身份证号
	private String birthDay; //出生日期
	private String signDate; //签到日期
	private int postState; //发帖状态 0可正常发帖，1不能发帖

	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getUaccount() {
		return uaccount;
	}
	public void setUaccount(String uaccount) {
		this.uaccount = uaccount;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUremake() {
		return uremake;
	}
	public void setUremake(String uremake) {
		this.uremake = uremake;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public double getUmoney() {
		return umoney;
	}
	public void setUmoney(double umoney) {
		this.umoney = umoney;
	}
	public int getIntegral() {
		return integral;
	}
	public void setIntegral(int integral) {
		this.integral = integral;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getPaypassword() {
		return paypassword;
	}
	public void setPaypassword(int paypassword) {
		this.paypassword = paypassword;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public String getBirthDay() {
		return birthDay;
	}
	public void setBirthDay(String birthDay) {
		this.birthDay = birthDay;
	}
	public String getSignDate() {
		return signDate;
	}
	public void setSignDate(String signDate) {
		this.signDate = signDate;
	}
	public int getPostState() {
		return postState;
	}
	public void setPostState(int postState) {
		this.postState = postState;
	}

	@Override
	public String toString() {
		return "User [uid=" + uid + ", uaccount=" + uaccount + ", uname="
				+ uname + ", password=" + password + ", uremake=" + uremake
				+ ", photo=" + photo + ", sex=" + sex + ", realName="
				+ realName + ", umoney=" + umoney + ", integral=" + integral
				+ ", phone=" + phone + ", email=" + email + ", status="
				+ status + ", paypassword=" + paypassword + ", cardNumber="
				+ cardNumber + ", birthDay=" + birthDay + ", signDate="
				+ signDate + ", postState=" + postState + "]";
	}
	

	
}
